﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="kartrisPagesData" targetNamespace="http://tempuri.org/kartrisPagesData.xsd" xmlns:mstns="http://tempuri.org/kartrisPagesData.xsd" xmlns="http://tempuri.org/kartrisPagesData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="KartrisSQLConnection" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="KartrisSQLConnection (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.KartrisSQLConnection.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="kartrisSQLConnection" IsAppSettingsProperty="true" Modifier="Assembly" Name="kartrisSQLConnection (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Kartris.My.MySettings.GlobalReference.Default.kartrisSQLConnection" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PagesTblAdptr" GeneratorDataComponentClassName="PagesTblAdptr" Name="Pages" UserDataComponentName="PagesTblAdptr">
            <MainSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="KartrisSQL_GPL.dbo.[_spKartrisPages_Get]" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="false" GeneratorGetMethodName="_GetData" GetMethodModifier="Public" GetMethodName="_GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="_GetData" UserSourceName="_GetData">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisPages_Get]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@LANG_ID" Precision="3" ProviderType="TinyInt" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PAGE_ID" DataSetColumn="PAGE_ID" />
              <Mapping SourceColumn="PAGE_Name" DataSetColumn="PAGE_Name" />
              <Mapping SourceColumn="PAGE_ParentID" DataSetColumn="PAGE_ParentID" />
              <Mapping SourceColumn="LANG_ID" DataSetColumn="LANG_ID" />
              <Mapping SourceColumn="PAGE_SEOPageTitle" DataSetColumn="PAGE_SEOPageTitle" />
              <Mapping SourceColumn="PAGE_MetaDescription" DataSetColumn="PAGE_MetaDescription" />
              <Mapping SourceColumn="PAGE_MetaKeywords" DataSetColumn="PAGE_MetaKeywords" />
              <Mapping SourceColumn="PAGE_Text" DataSetColumn="PAGE_Text" />
              <Mapping SourceColumn="Page_Title" DataSetColumn="Page_Title" />
              <Mapping SourceColumn="PAGE_DateCreated" DataSetColumn="PAGE_DateCreated" />
              <Mapping SourceColumn="PAGE_LastUpdated" DataSetColumn="PAGE_LastUpdated" />
              <Mapping SourceColumn="PAGE_Live" DataSetColumn="PAGE_Live" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="KartrisSQL_GPL.dbo.[_spKartrisPages_GetByID]" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="_GetByID" GetMethodModifier="Public" GetMethodName="_GetByID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="_GetByID" UserSourceName="_GetByID">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisPages_GetByID]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LANG_ID" Precision="3" ProviderType="TinyInt" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Page_ID" Precision="5" ProviderType="SmallInt" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="KartrisSQL_GPL.dbo.[_spKartrisPages_GetNames]" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="_GetNames" GetMethodModifier="Public" GetMethodName="_GetNames" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="_GetNames" UserSourceName="_GetNames">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisPages_GetNames]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="KartrisSQL_GPL.dbo.spKartrisPages_GetByName" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetByName" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetByName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByName" UserSourceName="GetByName">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spKartrisPages_GetByName</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LangID" Precision="3" ProviderType="TinyInt" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PageName" Precision="5" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="kartrisPagesData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msdata:EnforceConstraints="False" msprop:Generator_DataSetName="kartrisPagesData" msprop:Generator_UserDSName="kartrisPagesData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Pages" msprop:Generator_UserTableName="Pages" msprop:Generator_RowEvArgName="PagesRowChangeEvent" msprop:Generator_TableVarName="tablePages" msprop:Generator_TablePropName="Pages" msprop:Generator_RowDeletingName="PagesRowDeleting" msprop:Generator_RowChangingName="PagesRowChanging" msprop:Generator_RowDeletedName="PagesRowDeleted" msprop:Generator_RowEvHandlerName="PagesRowChangeEventHandler" msprop:Generator_TableClassName="PagesDataTable" msprop:Generator_RowChangedName="PagesRowChanged" msprop:Generator_RowClassName="PagesRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PAGE_ID" msprop:Generator_ColumnVarNameInTable="columnPAGE_ID" msprop:Generator_ColumnPropNameInRow="PAGE_ID" msprop:Generator_ColumnPropNameInTable="PAGE_IDColumn" msprop:Generator_UserColumnName="PAGE_ID" type="xs:short" minOccurs="0" />
              <xs:element name="PAGE_Name" msprop:Generator_ColumnVarNameInTable="columnPAGE_Name" msprop:Generator_ColumnPropNameInRow="PAGE_Name" msprop:Generator_ColumnPropNameInTable="PAGE_NameColumn" msprop:Generator_UserColumnName="PAGE_Name" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PAGE_ParentID" msprop:Generator_ColumnVarNameInTable="columnPAGE_ParentID" msprop:Generator_ColumnPropNameInRow="PAGE_ParentID" msprop:Generator_ColumnPropNameInTable="PAGE_ParentIDColumn" msprop:Generator_UserColumnName="PAGE_ParentID" type="xs:short" minOccurs="0" />
              <xs:element name="LANG_ID" msprop:Generator_ColumnVarNameInTable="columnLANG_ID" msprop:Generator_ColumnPropNameInRow="LANG_ID" msprop:Generator_ColumnPropNameInTable="LANG_IDColumn" msprop:Generator_UserColumnName="LANG_ID" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="PAGE_SEOPageTitle" msprop:Generator_ColumnVarNameInTable="columnPAGE_SEOPageTitle" msprop:Generator_ColumnPropNameInRow="PAGE_SEOPageTitle" msprop:Generator_ColumnPropNameInTable="PAGE_SEOPageTitleColumn" msprop:Generator_UserColumnName="PAGE_SEOPageTitle" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PAGE_MetaDescription" msprop:Generator_ColumnVarNameInTable="columnPAGE_MetaDescription" msprop:Generator_ColumnPropNameInRow="PAGE_MetaDescription" msprop:Generator_ColumnPropNameInTable="PAGE_MetaDescriptionColumn" msprop:Generator_UserColumnName="PAGE_MetaDescription" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PAGE_MetaKeywords" msprop:Generator_ColumnVarNameInTable="columnPAGE_MetaKeywords" msprop:Generator_ColumnPropNameInRow="PAGE_MetaKeywords" msprop:Generator_ColumnPropNameInTable="PAGE_MetaKeywordsColumn" msprop:Generator_UserColumnName="PAGE_MetaKeywords" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PAGE_Text" msprop:Generator_ColumnVarNameInTable="columnPAGE_Text" msprop:Generator_ColumnPropNameInRow="PAGE_Text" msprop:Generator_ColumnPropNameInTable="PAGE_TextColumn" msprop:Generator_UserColumnName="PAGE_Text" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Page_Title" msprop:Generator_ColumnVarNameInTable="columnPage_Title" msprop:Generator_ColumnPropNameInRow="Page_Title" msprop:Generator_ColumnPropNameInTable="Page_TitleColumn" msprop:Generator_UserColumnName="Page_Title" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PAGE_DateCreated" msprop:Generator_ColumnVarNameInTable="columnPAGE_DateCreated" msprop:Generator_ColumnPropNameInRow="PAGE_DateCreated" msprop:Generator_ColumnPropNameInTable="PAGE_DateCreatedColumn" msprop:Generator_UserColumnName="PAGE_DateCreated" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PAGE_LastUpdated" msprop:Generator_ColumnVarNameInTable="columnPAGE_LastUpdated" msprop:Generator_ColumnPropNameInRow="PAGE_LastUpdated" msprop:Generator_ColumnPropNameInTable="PAGE_LastUpdatedColumn" msprop:Generator_UserColumnName="PAGE_LastUpdated" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PAGE_Live" msprop:Generator_ColumnVarNameInTable="columnPAGE_Live" msprop:Generator_ColumnPropNameInRow="PAGE_Live" msprop:Generator_ColumnPropNameInTable="PAGE_LiveColumn" msprop:Generator_UserColumnName="PAGE_Live" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>